<template>
  <div style="height:1000px">
    <banner-detail></banner-detail>
    <banner-header></banner-header>
  </div>
</template>

<script>
import BannerDetail from '../components/detail/detailProduct'
import BannerHeader from '../components/detail/detail-header'
export default {
  components: {
    BannerDetail,
    BannerHeader
  },
  // 解决了进入详情页不在头部的问题
  activated() {
    document.documentElement.scrollTop = 0
  }
}
</script>
<style lang="less" scoped></style>
